﻿/**************************************************************************
创建时间:	2021/1/22 23:59:25    
作	  者:	张存
邮 	  箱:	zhangcunliang@126.com

Copyright (c) ASmile.cn

描	述：
记	录：
***************************************************************************/
using System;
using System.Collections.Generic;
using System.Text;
using ASmile;
using ASmile.DBModel;
using ASmile.Tools;

namespace ASmile.Com.Report
{
    public class ArgGetReport : ArgPageData
    {
        /// <summary>
        /// 窗体名称
        /// </summary>
        public string FormName { set; get; }
        /// <summary>
        /// Sys_Report.Id ,用于参数查询
        /// </summary>
        public string MainId { set; get; }
    }

    public class RetVModel
    {
        public Sys_Report ReportMain { set; get; }

        public List<Sys_ReportArg> ReportArgs { set; get; }
    }

    public class ArgReportData
    {
        public string FormName { set; get; }
        /// <summary>
        /// 分页时显示的页码
        /// </summary>
        public int PageNo { set; get; }
        /// <summary>
        /// 分页时的页大小
        /// </summary>
        public int PageSize { set; get; }
        /// <summary>
        /// 共通的搜索内容
        /// </summary>
        public string SearchValue { set; get; }

        public Dictionary<string, string> ArgList { set; get; }
    }

    public class RetPrintData
    {
        /// <summary>
        /// 明细数据
        /// </summary>
        public MiniTable DetailData { set; get; }
        /// <summary>
        /// 报表参数集合
        /// </summary>
        public Dictionary<string, string> Args { set; get; }
    }

    public class RetReportData
    {
        /// <summary>
        /// 明细数据
        /// </summary>
        public MiniTable DetailData { set; get; }
        /// <summary>
        /// 统计信息列表
        /// </summary>
        public List<string> SumInfoList { set; get; }
    }
}
